#!/usr/bin/env bash

#SBATCH --job-name=data_generation
#SBATCH --partition=public
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --gres=gpu:0
#SBATCH --cpus-per-task=60
#SBATCH --export=ALL

VENV_DIR=/NAS6/Members/linchenxi/satellite-platform/venv
CHDIR=/NAS6/Members/linchenxi/satellite-platform/analytics/crop_recognition_training_inference/data_generator/point_data_generation

export PYTHONPATH=$VENV_DIR/lib/python3.9/site-packages:$PYTHONPATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export PATH=$PATH:$CHDIR
cd $CHDIR

source $VENV_DIR/bin/activate
echo "$(which python3)"
python3 generate_time_series_pickle.py

# bash run_your_job.sh